package com.code.config.Swagger.params;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.lang.annotation.RetentionPolicy;

@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiJsonProperty {
    String key();  //key

    String example() default "";

    Class type() default String.class;  //支持string int double

    String description() default "";

    boolean required() default true; // 是否必传

}
